package org.gnyxy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class Orders implements Serializable {
    private Long id;
    private Long userId;
    private String consignee;
    private String number;
    private Integer status;
    private Long addressId;
    private LocalDateTime orderTime;
    private LocalDateTime checkoutTime;
    private Integer payStatus;
    private BigDecimal amount;
    private String remark;
    private String phone;
    private String address;
    private String cancelReason;
    private String rejectionReason;
    private LocalDateTime cancelTime;
    private Integer deliveryStatus;
    private LocalDateTime deliveryTime;
    private Integer deleted;
}
